function C = cell(lst)
%CELL Converts the list to a cell array
%
% [ Syntax ]
%   - C = cell(lst)
%
% [ Description ]
%   - C = cell(lst) returns the cell array of objects in the list.
%
% [ History ]
%   - Created by Dahua Lin, on Jan 5, 2008
%

if numel(lst.items) == lst.n
    C = lst.items;
else
    C = lst.items(1:lst.n);
end
